package org.example.booklist.mapper;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.booklist.model.UserInfo;

@Mapper
public interface UserInfoMapper {

    @Select("select * from user_info where user_name = #{name} and delete_flag = 0")
    UserInfo getUserInfoByName(String name);

}
